JSMeter: Comparing the Behavior of JavaScript Benchmarks with Real Web Applications
نویسندگان
چکیده
JavaScript is widely used in web-based applications and is increasingly popular with developers. So-called browser wars in recent years have focused on JavaScript performance, specifically claiming comparative results based on benchmark suites such as SunSpider and V8. In this paper we evaluate the behavior of JavaScript web applications from commercial web sites and compare this behavior with the benchmarks. We measure two specific areas of JavaScript runtime behavior: 1) functions and code and 2) events and handlers. We find that the benchmarks are not representative of many real web sites and that conclusions reached from measuring the benchmarks may be misleading. Specific common behaviors of real web sites that are underemphasized in the benchmarks include event-driven execution, instruction mix similarity, cold-code dominance, and the prevalence of short functions. We hope our results will convince the JavaScript community to develop and adopt benchmarks that are more representative of real web applications.
منابع مشابه
JSMeter: Measuring JavaScript Behavior in the Wild
JavaScript is widely used in web-based applications and is increasing popular with developers. So-called browser wars in recent years have focused on JavaScript performance, specifically claiming comparative results based on benchmark suites such as SunSpider and V8. In this paper we evaluate the behavior of JavaScript web applications from commercial web sites and compare this behavior with th...
متن کاملJSMeter: Characterizing Real-World Behavior of JavaScript Programs
JavaScript is widely used in web-based applications and is increasing popular with developers. So-called ”browser wars” in recent years have focused on JavaScript performance, specifically claiming comparative results based on benchmark suites such as SunSpider and V8. In this paper we evaluate the behavior of JavaScript web applications from commercial websites and compare this behavior with t...
متن کاملA Comparative Evaluation of JavaScript Execution Behavior
JavaScript is a dynamically typed, object-based scripting language with runtime evaluation. It has emerged as an important language for client-side computation of web applications. Previous studies indicate some differences in execution behavior between established benchmarks and real-world web applications. Our study extends previous studies by showing some consequences of these differences. W...
متن کاملBenchLab: Benchmarking with Real Web Applications and Web Browsers
Popular benchmarks such as TPC-W and RUBiS that are commonly used for evaluation by the systems community are no longer representative of modern Web applications. Many of these benchmarks lack the features such as JavaScript and AJAX that are essential to real Web 2.0 applications. Further, traditional benchmarks rely on browser emulators that mimic the basic network functionality of real web b...
متن کاملArchitectural Characterization of Client-side JavaScript Workloads & Analysis of Software Optimizations
The use of JavaScript for web applications has increased in recent years due to its short learning curve, maintainability, and ease of portability across different mobile operating systems. However, the performance of dynamic-typed languages such as JavaScript significantly lag behind their corresponding C/C++ native code. Recent advances in JavaScript compilers have resulted in notable improve...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2010